import requests from '@/utils/requests'

let urlPath = '/covid19'

export function getMapData (params) {
    return requests({
        url: urlPath + '/get-data-map-for-area',
        method: 'get',
        params
    })
}

export function getMapInfo (params) {
    return requests({
        url: urlPath + '/get-map-info-for-area',
        method: 'get',
        params
    })
}

export function getLogArea (params) {
    return requests({
        url: urlPath + '/get-log-data-for-area',
        method: 'get',
        params
    })
}

export function getMapDataTop20 (params) {
    return requests({
        url: urlPath + '/get-data-map-top20-for-area',
        method: 'get',
        params
    })
}

export function getMapDataOrderByCurrTop20 (params) {
    return requests({
        url: urlPath + '/get-data-map-top20-for-area-order-by-cur',
        method: 'get',
        params
    })
}

